package com.lijinjiang.mode;

/**
 * @Description 选择日期模式
 * @Author lijinjiang
 * @Date 2024-12-30 10:52
 */
public enum PickerMode {

    YEAR("yyyy"),
    MONTH("yyyy-MM"),
    DAY("yyyy-MM-dd"),
    HOUR("yyyy-MM-dd HH"),
    MINUTE("yyyy-MM-dd HH:mm"),
    MINUTE_10("yyyy-MM-dd HH:mm"),
    MINUTE_15("yyyy-MM-dd HH:mm"),
    MINUTE_30("yyyy-MM-dd HH:mm"),
    SECOND("yyyy-MM-dd HH:mm:ss");

    private final String pattern;

    public String getPattern() {
        return pattern;
    }

    PickerMode(String pattern) {
        this.pattern = pattern;
    }
}
